package com.shycloud.mido.homework.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 完成情况 (周报专用)
 *
 * @author nianhua.jiang
 */
@Data
@TableName(value = "mido_homework_complate_week")
@ApiModel(value = "com-shycloud-mido-homework-api-entity-MidoHomeworkComplateWeek")
public class MidoHomeworkComplateWeek {

	@ApiModelProperty(value = "主键ID")
	@TableId(value = "id", type = IdType.AUTO)
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer id;

	/** 作业ID */
	@TableField(value = "homework_id")
	@ApiModelProperty(value = "作业ID")
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long homeworkId;
	/** 音准 */
	@TableField(value = "intonation")
	@ApiModelProperty(value = "音准")
	private Integer intonation;
	/** 节奏 */
	@TableField(value = "rhythm")
	@ApiModelProperty(value = "节奏")
	private Integer rhythm;
	/** 完美 */
	@TableField(value = "perfect")
	@ApiModelProperty(value = "完美")
	private Integer perfect;
	/** 总分 */
	@TableField(value = "total_score")
	@ApiModelProperty(value = "总分")
	private Integer totalScore;
	/** 曲目时长(秒) */
	@TableField(value = "music_length")
	@ApiModelProperty(value = "曲目时长(秒)")
	private String musicLength;
	/** 练习长度 */
	@TableField(value = "practive_length")
	@ApiModelProperty(value = "练习长度")
	private String practiveLength;
	/** 录音资源地址 */
	@TableField(value = "recording_src")
	@ApiModelProperty(value = "录音资源地址")
	private String recordingSrc;
	/** 创建时间 */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/** 逻辑删除(0-未删除,1-已删除) */
	@TableField(value = "del_flag")
	@ApiModelProperty(value = "逻辑删除(0-未删除,1-已删除)")
	private Integer delFlag;
	/** 解析标识0未解析1解析完成2解析失败 */
	@TableField(value = "resolve_flag")
	@ApiModelProperty(value = "解析标识0未解析1解析完成2解析失败")
	private String resolveFlag;
	/** 作业0未完成1已完成 */
	@TableField(value = "flag")
	@ApiModelProperty(value = "作业0未完成1已完成")
	private String flag;
	/** 左手音准错误 */
	@TableField(value = "left_hand_intonation")
	@ApiModelProperty(value = "左手音准错误")
	private Integer leftHandIntonation;
	/** 左手节奏错误 */
	@TableField(value = "left_hand_rhythm")
	@ApiModelProperty(value = "左手节奏错误")
	private Integer leftHandRhythm;
	/** 右手音准错误 */
	@TableField(value = "right_hand_intonation")
	@ApiModelProperty(value = "右手音准错误")
	private Integer rightHandIntonation;
	/** 右手节奏错误 */
	@TableField(value = "right_hand_rhythm")
	@ApiModelProperty(value = "右手节奏错误")
	private Integer rightHandRhythm;
	/** 年龄 */
	@TableField(value = "age")
	private Integer age;
	/**
	 * 学龄 0->一年以下 1->1-2年 2->2-3年 3->3-4年 4->4-5年 5->5-6年 6->6-7年 7->7-8年 8->8-9年 9->9-10年 10-> 十年以上
	 */
	@TableField(value = "play_years")
	private String playYears;
	/** 0-入门 1-一级 。。。。。 */
	@TableField(value = "play_target")
	private String playTarget;
	/** 学生ID */
	@TableField(value = "student_id")
	private String studentId;
	@TableField(value = "member_id")
	private String memberId;
	@TableField(value = "playing_mode")
	private String playingMode;

	public static final String COL_ID = "id";

	public static final String COL_HOMEWORK_ID = "homework_id";

	public static final String COL_INTONATION = "intonation";

	public static final String COL_RHYTHM = "rhythm";

	public static final String COL_PERFECT = "perfect";

	public static final String COL_TOTAL_SCORE = "total_score";

	public static final String COL_MUSIC_LENGTH = "music_length";

	public static final String COL_PRACTIVE_LENGTH = "practive_length";

	public static final String COL_RECORDING_SRC = "recording_src";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_DEL_FLAG = "del_flag";

	public static final String COL_RESOLVE_FLAG = "resolve_flag";

	public static final String COL_FLAG = "flag";

	public static final String COL_LEFT_HAND_INTONATION = "left_hand_intonation";

	public static final String COL_LEFT_HAND_RHYTHM = "left_hand_rhythm";

	public static final String COL_RIGHT_HAND_INTONATION = "right_hand_intonation";

	public static final String COL_RIGHT_HAND_RHYTHM = "right_hand_rhythm";
}